package com.example.parkingsharing.data

import com.example.parkingsharing.R

//data class Configuration()

object RouteConfig {
    object Page {
        const val MAP_PAGE = "MAP_PAGE"
        const val USER_PAGE = "USER_PAGE"
        const val CAR_PAGE = "CAR_PAGE"
        const val SPOT_PAGE = "SPOT_PAGE"
        const val ORDER_PAGE = "ORDER_PAGE"
        const val POINTS_PAGE = "POINTS_PAGE"
        const val NOT_LOGIN_PAGE = "NOT_LOGIN_PAGE"
    }
}

data class BottomItem(
    val label: String,
    val Res: Int,
    val routeName: String,
    )

val mBottomTabItems =
    listOf(
        BottomItem("地图",
            R.drawable.ic_baseline_map_24,
            RouteConfig.Page.MAP_PAGE),
        BottomItem("我",
            R.drawable.ic_baseline_account_circle_24,
            RouteConfig.Page.USER_PAGE),
    )

val mManagerItems =
    listOf(
        BottomItem("车辆管理",
            R.drawable.ic_baseline_directions_car_32,
            RouteConfig.Page.CAR_PAGE),
        BottomItem("车位管理",
            R.drawable.ic_baseline_local_parking_32,
            RouteConfig.Page.SPOT_PAGE),
        BottomItem("订单",
            R.drawable.ic_baseline_list_alt_32,
            RouteConfig.Page.ORDER_PAGE),
        BottomItem("积分",
            R.drawable.ic_baseline_stars_32,
            RouteConfig.Page.POINTS_PAGE),

)